Optimal. Leaf size=67 \[ -\frac {2 (b d-a e)^2}{3 e^3 (d+e x)^{3/2}}+\frac {4 b (b d-a e)}{e^3 \sqrt {d+e x}}+\frac {2 b^2 \sqrt {d+e x}}{e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {27, 45}
\begin {gather*} \frac {4 b (b d-a e)}{e^3 \sqrt {d+e x}}-\frac {2 (b d-a e)^2}{3 e^3 (d+e x)^{3/2}}+\frac {2 b^2 \sqrt {d+e x}}{e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int \frac {a^2+2 a b x+b^2 x^2}{(d+e x)^{5/2}} \, dx &=\int \frac {(a+b x)^2}{(d+e x)^{5/2}} \, dx\\ &=\int \left (\frac {(-b d+a e)^2}{e^2 (d+e x)^{5/2}}-\frac {2 b (b d-a e)}{e^2 (d+e x)^{3/2}}+\frac {b^2}{e^2 \sqrt {d+e x}}\right ) \, dx\\ &=-\frac {2 (b d-a e)^2}{3 e^3 (d+e x)^{3/2}}+\frac {4 b (b d-a e)}{e^3 \sqrt {d+e x}}+\frac {2 b^2 \sqrt {d+e x}}{e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 62, normalized size = 0.93 \begin {gather*} \frac {-2 a^2 e^2-4 a b e (2 d+3 e x)+2 b^2 \left (8 d^2+12 d e x+3 e^2 x^2\right )}{3 e^3 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.48, size = 66, normalized size = 0.99
method | result | size |
risch | \(\frac {2 b^{2} \sqrt {e x +d}}{e^{3}}-\frac {2 \left (6 b e x +a e +5 b d \right ) \left (a e -b d \right )}{3 e^{3} \left (e x +d \right )^{\frac {3}{2}}}\) | \(50\) |
gosper | \(-\frac {2 \left (-3 b^{2} x^{2} e^{2}+6 a b \,e^{2} x -12 b^{2} d e x +a^{2} e^{2}+4 a b d e -8 b^{2} d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) | \(62\) |
trager | \(-\frac {2 \left (-3 b^{2} x^{2} e^{2}+6 a b \,e^{2} x -12 b^{2} d e x +a^{2} e^{2}+4 a b d e -8 b^{2} d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) | \(62\) |
derivativedivides | \(\frac {2 b^{2} \sqrt {e x +d}-\frac {2 \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}-\frac {4 b \left (a e -b d \right )}{\sqrt {e x +d}}}{e^{3}}\) | \(66\) |
default | \(\frac {2 b^{2} \sqrt {e x +d}-\frac {2 \left (a^{2} e^{2}-2 a b d e +b^{2} d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}-\frac {4 b \left (a e -b d \right )}{\sqrt {e x +d}}}{e^{3}}\) | \(66\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 73, normalized size = 1.09 \begin {gather*} \frac {2}{3} \, {\left (3 \, \sqrt {x e + d} b^{2} e^{\left (-2\right )} - \frac {{\left (b^{2} d^{2} - 2 \, a b d e + a^{2} e^{2} - 6 \, {\left (b^{2} d - a b e\right )} {\left (x e + d\right )}\right )} e^{\left (-2\right )}}{{\left (x e + d\right )}^{\frac {3}{2}}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.15, size = 79, normalized size = 1.18 \begin {gather*} \frac {2 \, {\left (8 \, b^{2} d^{2} + {\left (3 \, b^{2} x^{2} - 6 \, a b x - a^{2}\right )} e^{2} + 4 \, {\left (3 \, b^{2} d x - a b d\right )} e\right )} \sqrt {x e + d}}{3 \, {\left (x^{2} e^{5} + 2 \, d x e^{4} + d^{2} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 265 vs.
\(2 (61) = 122\).
time = 0.50, size = 265, normalized size = 3.96 \begin {gather*} \begin {cases} - \frac {2 a^{2} e^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} - \frac {8 a b d e}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} - \frac {12 a b e^{2} x}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {16 b^{2} d^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {24 b^{2} d e x}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {6 b^{2} e^{2} x^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} & \text {for}\: e \neq 0 \\\frac {a^{2} x + a b x^{2} + \frac {b^{2} x^{3}}{3}}{d^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.14, size = 75, normalized size = 1.12 \begin {gather*} 2 \, \sqrt {x e + d} b^{2} e^{\left (-3\right )} + \frac {2 \, {\left (6 \, {\left (x e + d\right )} b^{2} d - b^{2} d^{2} - 6 \, {\left (x e + d\right )} a b e + 2 \, a b d e - a^{2} e^{2}\right )} e^{\left (-3\right )}}{3 \, {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 68, normalized size = 1.01 \begin {gather*} \frac {6\,b^2\,{\left (d+e\,x\right )}^2-2\,a^2\,e^2-2\,b^2\,d^2+12\,b^2\,d\,\left (d+e\,x\right )-12\,a\,b\,e\,\left (d+e\,x\right )+4\,a\,b\,d\,e}{3\,e^3\,{\left (d+e\,x\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________